package cn.gok.oop;


interface Fly{
    void fly();
}
interface Callable{
    void call();
}
class Bird implements Fly,Callable {


    @Override
    public void call() {
        System.out.println("鸟在叫");
    }

    @Override
    public void fly() {

    }

}
public class 接口 {
    public static void main(String[] args) {
        Bird bird=new Bird();
        bird.fly();
        bird.call();
    }
}